package com.abysscore.yachtdesign;
import java.awt.Color;

public class TFreeSubdivisionControlEdge extends TFreeSubdivisionEdge{
	private Color FGetColor()
	{
		return null;
	}
	private int FGetIndex()
	{
		return 0;
	}
	
	private boolean FGetIsBoundaryEdge()
	{
		return false;//                                override;
	}
	private void FSetSelected(boolean val)
	{
		;
	}
	private boolean FGetSelected()
	{
		return false;
	}
	private boolean FGetVisible()
	{
		return false;
	}


	public void Collapse()
	{
		;
	}
	public TFreeSubdivisionControlEdge(TFreeSubdivisionSurface Owner)
	{
		super(Owner); //                  override;
	}
	public void   Delete()
	{
		;
	}
	public int DistanceToCursor(int X, int Y, T3DCoordinate P, TFreeViewport Viewport)
	{
		return 0;
	}
	public void Draw(boolean DrawMirror, TFreeViewport Viewport)
	{
		; 
	}
	public TFreeSubdivisionControlPoint InsertControlPoint(T3DCoordinate P)
	{
		return null;
	}
	public void LoadBinary(TFreeFileBuffer Source)
	{
		int Index = -1;
		boolean Sel = false;

		// Read startpoint
		Source.Load(Index);
		if (Index==-1)
			Index=0;
		else
		{
			FStartpoint=(TFreeSubdivisionPoint) Owner().ControlPoints(Index);
			FStartpoint.AddEdge(this);
		}
		// Read endpoint
		Source.Load(Index);
		if (Index==-1)
			Index=0;
		else
		{
			FEndpoint=(TFreeSubdivisionPoint) Owner().ControlPoints(Index);
			FEndpoint.AddEdge(this);
		}
		Source.Load(FCrease);
		Source.Load(Sel);
		if (Sel)
			Selected(true);
	}
	public void LoadFromStream(int LineNr, TStringList Strings)
	{
		;
	}
	public void SaveBinary(TFreeFileBuffer Destination)
	{
		;
	}
	public void SaveToStream(TStringList Strings)
	{
		;
	}
	public void Trace()
	{
		;
	}


	public Color Color() { return FGetColor(); } 
	public boolean Selected() {return FGetSelected(); } 
	public void Selected(boolean val) { FSetSelected(val); }       // Property to see if this edge has been selected by the user
	public boolean Visible() { return FGetVisible(); }
}
